settings: use the right RC parser for the gtk-visible-focus setting
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 11 Aug 2011 11:10:41 +0000 (13:10 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 11 Aug 2011 13:38:45 +0000 (15:38 +0200)
Without the parser the property the property won't be settable by themes
using settings.ini

gtk/gtksettings.c

index ab5c5aa960f95519e221ac10e233a3ddfebaf369..d30b30e4e04c3a13e7d66eff07220cb1cd1f433c 100644 (file)
@@ -1129,7 +1129,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
                                                                 GTK_TYPE_POLICY_TYPE,
                                                                 GTK_POLICY_ALWAYS,
                                                                 GTK_PARAM_READWRITE),
-                                             NULL);
+                                             gtk_rc_property_parse_enum);
   g_assert (result == PROP_VISIBLE_FOCUS);
 
   /**